<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		var obj = function() {

		}
		console.log(obj.prototype.constructor === obj);
		console.log(Date.prototype.constructor === Date);
		
		console.log(obj.prototype);
		obj = new obj();
		console.log(obj);
		console.log(Date.prototype);
		
		var Fun = function() {
		
		}
		Fun.prototype.test = function(){
			alert("~~~");
		}
		var fun= new Fun();
		fun.test();
		console.log(fun.__proto__ === Fun.prototype)
		
	</script>
</html>
